Skip to content

Fix swapped arguments in x64 builders - #36

Open
Drewsif wants to merge 1 commit into
monoxgas:masterfrom
Drewsif:fix-x64-args
Open

Fix swapped arguments in x64 builders#36
Drewsif wants to merge 1 commit into
monoxgas:masterfrom
Drewsif:fix-x64-args

Conversation

@Drewsif

@Drewsif Drewsif commented Nov 15, 2023

Copy link
Copy Markdown

Argument 5 and 6 are swapped in the x64 builders causing a really long delay between imports. This PR fixes the DotNet, Native, PowerShell, and Python builders.

Fixes #34
Fixes #33
Closes #32 (fixes only the python builder)

@yuanyuanxiang

Copy link
Copy Markdown

Great, this fix has been proven useful by my testing. Thank you!

@Inndy

Inndy commented Sep 15, 2025

Copy link
Copy Markdown

@monoxgas could you please kindly merge this patch. Incorrectly swapping PVOID pvShellcodeBase and DWORD dwFlags may cause unexpected random delay when executing payload.

Inndy added a commit to BetterRedTeamTools/sRDI that referenced this pull request Sep 15, 2025
This patch fixes an issue where pvShellcodeBase and dwFlags were incorrectly
swapped, which could cause random delays when executing payloads and prevent
the original flags from being enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinite loop when executing NativeLoader_x64.exe X64 mode corrigendum

3 participants